import { type ComponentPublicInstance } from 'vue'

export interface MessageMethods {
  success: (message: string) => void
  error: (message: string) => void
  warning: (message: string) => void
  info: (message: string) => void
}
export interface MyComponent extends ComponentPublicInstance {
  $message: MessageMethods
}
